package com.naiterui.ehp.bs.esign.api.bjca.config;

import com.naiterui.ehp.bp.constants.EsignServiceProviderEnum;
import com.naiterui.ehp.bs.esign.api.ISignService;
import com.naiterui.ehp.bs.esign.api.bjca.service.impl.SignServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;

/**
 * @Description 医网签配置
 * @Author gongbaoqiang
 * @Date 2020/1/6 5:01 PM
 */
@Slf4j
public class YwxAutoConfiguration {

    @Bean
    public ISignService signService(){
        log.info("加载签名厂商 {}", EsignServiceProviderEnum.BJCA.getProviderName());
        return new SignServiceImpl();
    }
}
